﻿using Newtonsoft.Json;

namespace QQMapSDK.Models
{
    public class Location
    {
        [JsonProperty("lat")]
        public double Lat { get; set; }

        [JsonProperty("lng")]
        public double Lng { get; set; }

        public string ToLocationString()
        {
            //return Lng + "," + Lat;
            return Lat + "," + Lng;
        }
    }
}